home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / RESOURCES / CH6 / EMAGA6 / control / client / default_profile.cs.bak < prev    next >
Text File  |  2006-09-21  |  3KB  |  130 lines

  1. //============================================================================
  2. // control/client/default_profile.cs
  3. //
  4. // Copyright (c) 2003 Kenneth C. Finney
  5. //============================================================================
  6.  
  7. //-----------------------------------------------------------------------------
  8. // Chat Box profiles
  9. new GuiControlProfile (ChatBoxEditProfile)
  10. {
  11.    opaque = false;
  12.    fillColor = "255 255 255";
  13.    fillColorHL = "128 128 128";
  14.    border = false;
  15.    borderThickness = 0;
  16.    borderColor = "40 231 240";
  17.    fontColor = "40 231 240";
  18.    fontColorHL = "40 231 240";
  19.    fontColorNA = "128 128 128";
  20.    textOffset = "0 2";
  21.    autoSizeWidth = false;
  22.    autoSizeHeight = true;
  23.    tab = true;
  24.    canKeyFocus = true;
  25. };
  26.  
  27. new GuiControlProfile (ChatBoxTextProfile)
  28. {
  29.    opaque = false;
  30.    fillColor = "255 255 255";
  31.    fillColorHL = "128 128 128";
  32.    border = false;
  33.    borderThickness = 0;
  34.    borderColor = "40 231 240";
  35.    fontColor = "40 231 240";
  36.    fontColorHL = "40 231 240";
  37.    fontColorNA = "128 128 128";
  38.    textOffset = "0 0";
  39.    autoSizeWidth = true;
  40.    autoSizeHeight = true;
  41.    tab = true;
  42.    canKeyFocus = true;
  43. };
  44.  
  45. new GuiControlProfile ("ChatBoxMessageProfile")
  46. {
  47.    fontType = "Arial";
  48.    fontSize = 16;
  49.    fontColor = "44 172 181";      // default color (death msgs, scoring, inventory)
  50.    fontColors[1] = "4 235 105";   // client join/drop, tournament mode
  51.    fontColors[2] = "219 200 128"; // gameplay, admin/voting, pack/deployable
  52.    fontColors[3] = "77 253 95";   // team chat, spam protection message, client tasks
  53.    fontColors[4] = "40 231 240";  // global chat
  54.    fontColors[5] = "200 200 50 200";  // used in single player game
  55.    // WarnING! Colors 6-9 are reserved for name coloring
  56.    autoSizeWidth = true;
  57.    autoSizeHeight = true;
  58. };
  59.  
  60. new GuiControlProfile ("ChatBoxScrollProfile")
  61. {
  62.    opaque = false;
  63.    border = false;
  64.    borderColor = "0 255 0";
  65.    bitmap = "common/ui/darkScroll";
  66.    hasBitmapArray = true;
  67. };
  68.  
  69.  
  70. //-----------------------------------------------------------------------------
  71. // Common Hud profiles
  72.  
  73. new GuiControlProfile ("HudScrollProfile")
  74. {
  75.    opaque = false;
  76.    border = true;
  77.    borderColor = "0 255 0";
  78.    bitmap = "common/ui/darkScroll";
  79.    hasBitmapArray = true;
  80. };
  81.  
  82. new GuiControlProfile ("HudTextProfile")
  83. {
  84.    opaque = false;
  85.    fillColor = "128 128 128";
  86.    fontColor = "0 255 0";
  87.    border = true;
  88.    borderColor = "0 255 0";
  89. };
  90.  
  91. new GuiControlProfile ("ScoreTextProfile")
  92. {
  93.    opaque = false;
  94.    fillColor = "128 128 128";
  95.    fontColor = "255 255 0";
  96.    border = true;
  97.    borderColor = "180 180 0";
  98.    fontSize = 16;
  99. };
  100.  
  101. new GuiControlProfile ("ChatBoxBorderProfile")
  102. {
  103.    bitmap = "./interfaces/emaga_chatwidgetarray";
  104.    hasBitmapArray = true;
  105.    opaque = false;
  106. };
  107.  
  108.  
  109. //-----------------------------------------------------------------------------
  110. // Center and bottom print
  111.  
  112. new GuiControlProfile ("CenterPrintProfile")
  113. {
  114.    opaque = false;
  115.    fillColor = "128 128 128";
  116.    fontColor = "0 255 0";
  117.    border = true;
  118.    borderColor = "0 255 0";
  119. };
  120.  
  121. new GuiControlProfile ("CenterPrintTextProfile")
  122. {
  123.    opaque = false;
  124.    fontType = "Arial";
  125.    fontSize = 12;
  126.    fontColor = "0 255 0";
  127. };
  128.  
  129.  
  130.